package com.kube.design.factorymethod;

/**
 * @author q.zhangr
 * @version 1.0.0
 * @date 2020/7/21
 */
public class ConcreteFactory2 implements AbstractFactory {
    @Override
    public Product newProduct() {
        System.out.println("具体工厂2生成-->具体产品2...");
        return new ConcreteProduct2();
    }
}
